import { Outlet, useLocation} from 'react-router-dom'
import Search from '../../components/Search/index'
import HeaderTile from '../../components/HeaderTile/index'
import NavList from '../../components/Nav/index'
import './style.less'

const Home = () => {
   return (
      <div>
         <div className="Header">
         <HeaderTile />
            <Search />
            <NavList />
         </div>
         <div className="main">
            <Outlet />
         </div>
      </div>
   )
}

export default Home